<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" %>
<%--
<dl class="placeAndEquipment_dl">
    <dt>设备名：</dt>
    <dd><input type="text" id="deviceName" placeholder="请输入设备名"></dd>
    <dt>设备简码：</dt>
    <dd><input type="text" id="deviceShortCode" placeholder="请输入设备简码"></dd>
    <dt>IMEI/MAC码：</dt>
    <dd><input type="text" id="mac" placeholder="请输入IMEI/MAC码"></dd>

    &lt;%&ndash;fixme 修复条件查询
    <dd><a class="placeAndEquipment_search" href="javascript:;">查询(待完善)</a></dd>&ndash;%&gt;

</dl>
--%>

<div style="background:#f7f7f7; padding:10px 0 20px 0;">
    <ul class="placeAndEquipment_ul">
        <li>
            <a class="${cur==0?"cur":""}" name="0" href="javascript:;"><p>在线</p><p>${online.size()}</p></a>
        </li>
        <li>
            <a class="${cur==1?"cur":""}" name="1" href="javascript:;"><p>离线</p><p>${offline.size()}</p></a>
        </li>
        <li>
            <a class="${cur==2?"cur":""}" name="2" href="javascript:;"><p>禁用</p><p>${disabled.size()}</p></a>
        </li>
        <li>
            <a class="${cur==3?"cur":""}" name="3" href="javascript:;"><p>故障</p><p>${fault.size()}</p></a>
        </li>
    </ul>
</div>
<script type="application/javascript">
    $(".placeAndEquipment_ul a").each(function(indexTemp){
        $(this).click(function(){
            var place = "${placeId}";
            window.location.href = "${basePath}v3/place/"+place+"/placeView";
        });
    });
</script>